.el-backtop {
  width: 40px !important;
  height: 40px !important;
}

.el-button {
  margin-right: 10px;
  margin-left: 0;
}

.el-button + .el-button {
  margin-left: 0;
}

.el-link {
  margin-right: 10px;
  margin-left: 0;
}

.el-table thead th {
  background-color: #f8f8f8;
}

.el-descriptions-item__label.is-bordered-label {
  background: #f8f8f8;
  color: #333;
}

.el-descriptions__body>table{
  table-layout: fixed!important;
}

.el-table th .cell {
  font-weight: bold;
  color: #333;
}
.el-cascader,
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}

.dialog-footer{
  .el-button:last-child{
    margin-right: 0;
  }
}

/* el-form-item__label 设置换行并且设置红星*的样式 */
.el-form-item__label {
  display: flex;
  padding-left: 5px;
  justify-content: flex-end;
  align-items: center;
  white-space: pre-line; /*换行显示*/
  min-height: 0.20833rem;/*设置lable高度，与input高度一样*/
  line-height: 16px!important;/*设置行高为label高度的一半（有n行就是label高度的1/n）*/
}
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before{
  display: contents;
  letter-spacing: 5px;
}

/* el-table列数据或者el-descriptions-item__content为空自动显示 - */
.el-table__body td>div.cell>div:empty::before,
.el-table__body td>div.cell:empty::before,
.el-descriptions-item__content:empty::before,
.el-descriptions-item__content>div:empty::before,
.el-descriptions-item__content>div>span:empty::before{
  content: '-';
  color: #606266;
}

/** 全局el-tooltip, 因无法局部设置 **/
.el-tooltip__popper{
  max-width: 500px;
}

/** table 宽度设置超出100%时出现滚动条  **/
.el-scrollbar__bar.is-horizontal{
  height: 8px;
}

/** 解决table在form中，表头高度过高的问题 **/
.table-form-content .el-form-item__content{
  line-height: initial;
}

.el-descriptions-item__content{
  word-break: break-all;
}
